package com.apartment.own.domain.enums;

import com.baomidou.mybatisplus.annotation.IEnum;

import java.io.Serializable;

/**
 * des. 缴费方式 物业费缴费方式
 *
 * @author : RazaJin
 * @date : 2020/9/1 0001 下午 4:45
 */
public enum PropertyFeeEnum implements IEnum {
    /**
     *
     */
    TYPE1(1, "预付费", 0),
    /**
     *
     */
    TYPE2(2, "后付费", 0);
    private Integer id;
    private String name;
    private Integer select;

    PropertyFeeEnum(Integer id, String name, Integer select) {
        this.id = id;
        this.name = name;
        this.select = select;
    }


    @Override
    public Serializable getValue() {
        return this.id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public Integer getSelect() {
        return select;
    }

    public void setSelect(Integer select) {
        this.select = select;
    }

    public void setName(String name) {
        this.name = name;
    }
}
